<?php

class HocViensDangKyController extends BaseController {

	public function getCourses()
	{
		$khoa_hocs = Course::all();
		return View::make('hocviendangky.dangkykhoahoc', compact('khoa_hocs'));
	}

	public function getSchedule()
	{
		$khoa_this = DB::table('schedules')->where('schedules.post', '=', 1)->get();
		return View::make('hocviendangky.dangkykhoathi', compact('khoa_this'));
	}

	

}